package com.liuxu.topnews.utils;

import android.util.Log;

import com.liuxu.topnews.BuildConfig;

public class LogUtil {
    private static LogUtil Instance;
    public static LogUtil getInstance(){
        if (Instance == null) {
            Instance= new LogUtil();
        }
        return Instance;
    }
    public void show(String message){
        if (BuildConfig.DEBUG){
            Log.v("",message);
        }else {
            Log.v("","非debug模式");
        }
    }
    public void show(String tag,String message){
        if (BuildConfig.DEBUG){
            Log.v(tag,message);
        }else {
            Log.v("","非debug模式");
        }
    }
}
